package com.sp.common.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@Accessors(chain = true)
@Schema(name= "角色信息")
public class RoleInfo {

    private static final long serialVersionUID = 1L;

    @Schema(name = "当前角色的id")
    private Long id;

    @Schema(name= "当前角色的编码")
    private String roleCode;

    @Schema(name="当前角色的名称")
    private String roleName;

    @Schema(name="当前角色的类型")
    private Integer roleType;

    private Long creatorId;

    private Long updaterId;

    private String remark;

    List<ResourceInfo> resourceInfoList;
}
